home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1993 / Internet Info CD-ROM (Walnut Creek) (1993).iso / networking / ip / manage / snmp / cmu-snmp-patches.shar / parse.h.diff < prev    next >
Encoding:
Text File  |  1992-01-15  |  2.4 KB  |  64 lines

  1. ===================================================================
  2. RCS file: /s/usr2/K/repo/tools/cmu-snmp/snmplib/parse.h,v
  3. retrieving revision 1.1
  4. diff -c -r1.1 parse.h
  5. *** /tmp/,RCSt1a22345    Tue Sep 24 20:23:01 1991
  6. --- parse.h    Tue Aug 20 22:05:02 1991
  7. ***************
  8. *** 1,3 ****
  9. --- 1,4 ----
  10. + /* $Id: parse.h,v 1.2 91/07/27 23:38:30 nik Exp $    */
  11.   /***********************************************************
  12.       Copyright 1989 by Carnegie Mellon University
  13.   
  14. ***************
  15. *** 23,28 ****
  16. --- 24,32 ----
  17.    * parse.h
  18.    */
  19.   
  20. + #define MAXLABEL    64    /* maximum characters in a label */
  21. + #define MAXTOKEN    64    /* maximum characters in a token */
  22.   /*
  23.    * A linked list of tag-value pairs for enumerated integers.
  24.    */
  25. ***************
  26. *** 37,45 ****
  27.    */
  28.   struct node {
  29.       struct node *next;
  30. !     char label[32]; /* This node's (unique) textual name */
  31.       u_long  subid;  /* This node's integer subidentifier */
  32. !     char parent[32];/* The parent's textual name */
  33.       int type;        /* The type of object this represents */
  34.       struct enum_list *enums;    /* (optional) list of enumerated integers (otherwise NULL) */
  35.   };
  36. --- 41,49 ----
  37.    */
  38.   struct node {
  39.       struct node *next;
  40. !     char label[MAXLABEL]; /* This node's (unique) textual name */
  41.       u_long  subid;  /* This node's integer subidentifier */
  42. !     char parent[MAXLABEL];/* The parent's textual name */
  43.       int type;        /* The type of object this represents */
  44.       struct enum_list *enums;    /* (optional) list of enumerated integers (otherwise NULL) */
  45.   };
  46. ***************
  47. *** 51,57 ****
  48.       struct tree *child_list;    /* list of children of this node */
  49.       struct tree *next_peer;    /* Next node in list of peers */
  50.       struct tree *parent;
  51. !     char label[32];        /* This node's textual name */
  52.       u_long subid;        /* This node's integer subidentifier */
  53.       int type;            /* This node's object type */
  54.       struct enum_list *enums;    /* (optional) list of enumerated integers (otherwise NULL) */
  55. --- 55,61 ----
  56.       struct tree *child_list;    /* list of children of this node */
  57.       struct tree *next_peer;    /* Next node in list of peers */
  58.       struct tree *parent;
  59. !     char label[MAXLABEL];        /* This node's textual name */
  60.       u_long subid;        /* This node's integer subidentifier */
  61.       int type;            /* This node's object type */
  62.       struct enum_list *enums;    /* (optional) list of enumerated integers (otherwise NULL) */
  63.